<h1>Listing role_descriptions</h1>

<table>
  <tr>
    <th>Role</th>
    <th>Description</th>
    <th>Version</th>
    <th>Public</th>
  </tr>

<% for role_description in @role_descriptions %>
  <tr>
    <td><%=h role_description.role_id %></td>
    <td><%=h role_description.description %></td>
    <td><%=h role_description.version %></td>
    <td><%=h role_description.public %></td>
    <td><%= link_to 'Show',
      laiv_role_role_description_path(@laiv, @role, role_description) %></td>
    <td><%= link_to 'Edit', 
      edit_laiv_role_role_description_path(@laiv, @role, role_description) %></td>
    <td><%= link_to 'Destroy', laiv_role_role_description_path(@laiv, @role, role_description),
      :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New role_description', new_laiv_role_role_description_path(@laiv, @role) %>
